package org.amicofragile.springsamples;

import java.util.Collection;
import java.util.LinkedList;

public class InMemoryDataProvider implements DataProvider {

	@Override
	public Collection<Person> loadPersons() {
		Collection<Person> persons = new LinkedList<Person>();
		persons.add(new Person("Eddie", "Merckx"));
		persons.add(new Person("Miguel", "Indurain"));
		return persons;
	}

}
